package com.hzw.saas.web.app.workspace.param;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import org.springframework.web.multipart.MultipartFile;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 *
 * </p>
 *
 * @author sonam
 * @since 2021/2/7 10:35
 */
@Api("工作空间上传资源参数")
@Data
public class WPResourceUploadParam {

//    @NotBlank(message = "工作空间ID不能为空")
//    @ApiModelProperty(value = "工作空间ID")
//    private String spaceId;

    @NotBlank(message = "指定的上传目录不能为空")
    @ApiModelProperty(value = "指定的上传目录")
    private String path;

    @NotNull(message = "上传的文件不能为空")
    @ApiModelProperty(value = "文件")
    private MultipartFile file;

}
